package com.kayang.feishu.pojo.msg;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class TextMsg  extends BaseMsg{

    @NotBlank(message = "msg_type 不能为空")
    protected String msg_type = "text";


    /**
     *{
     *     "text": "test content"
     * }
     * */
    @NotNull(message = "content 不能为空")
    private String content;



}


